Release 10.1A: OpenEdge Data Management:
SQL Reference


MONTH

Returns the month in the year specified by the argument as a short integer value in the range of 1–12.

Syntax

MONTH ( date_expression ) 

Example

This example illustrates the MONTH function:

SELECT * FROM orders WHERE MONTH (order_date) = 6 ; 

Notes

Compatibility

ODBC compatible


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095